package cn.lvhang.pet.service;

import cn.lvhang.basic.service.IBaseService;
import cn.lvhang.basic.util.LoginContext;
import cn.lvhang.basic.util.PageList;
import cn.lvhang.pet.domain.Pet;
import cn.lvhang.pet.domain.SearchMasterMsg;
import cn.lvhang.pet.query.SearchMasterMsgQuery;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    /**
     * 发布寻主消息业务接口
     * @param searchMasterMsg
     * @param loginInfoId
     */
    void publish(SearchMasterMsg searchMasterMsg, Long loginInfoId);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> queryUserMsg(SearchMasterMsgQuery query, Long id);

    void handle(Pet pet, Long id);
}
